﻿using HardcoreGame.Common.Conditions;
using HardcoreGame.Content.Items.Consumables.Others;
using HardcoreGame.Content.Items.Placeable.FishingCrate;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;

namespace HardcoreGame.Common.GlobalNPCs
{
    public class ShopNPC : GlobalNPC
    {
        public override void ModifyShop(NPCShop shop)
        {
            if (shop.NpcType == 229)
            {
                shop.Add<SmugglingCrate>(RecipeConditions.FisningBan);
            }
            if (shop.NpcType == NPCID.WitchDoctor)
            {
                shop.Add(new Item(ModContent.ItemType<StaminaCrystal>())
                {
                    shopCustomPrice = 75000 * 3,
                });
            }
        }
    }
}
